program main

    use easy_stats_m, only: var

    print *, var([1, 2, 3, 4, 5])
    print *, var([1, 2, 3, 4, 5, 6], .true.)

end program main

!           2
!           3